package cn.endeavour.quartz.service;


import cn.endeavour.quartz.domain.QuartzJobInfo;

/**
 * 定时器业务层
 */
public interface IQuartzService {
    /**
     * 添加定时任务
     * @param quartzJobInfo
     */
    void addJob(QuartzJobInfo quartzJobInfo);

    /**
     * 移除定时任务
     * @param jobName
     */
    void removeJob(String jobName);
}
